package com.meilai.project.dto.app;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.meilai.project.vo.app.UploadBackVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author 张驰
 * @date 2021/11/8 13:37
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@ApiModel(value="请求对象-维修申报", description="请求对象-维修申报")
public class WorkerSubmitRepairDTO {
    @NotNull(message = "设备id不能为null")
    @ApiModelProperty(value = "设备id，公司唯一", required = true)
    private Long device_id;
    @ApiModelProperty(value = "故障原因")
    private List<Long> breakdown_type_ids;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "照片List")
    private List<UploadBackVO> file_list;
}
